package com.kust.smarthome.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("修改密码封装类")
public class UpdatePasswordVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("老密码")
    private String oldPassword;

    @ApiModelProperty("新密码")
    private String newPassword1;

    @ApiModelProperty("确认新密码")
    private String newPassword2;
}
